|
![](/i/fill.gif) |
> I think the blue is good the way it is. could you post an examle of
> the code for how you aplied the ambient and radiosity?
>
If you don't have 3.5 I can't help you.
I suggest that you first read the docs about radiosity and then play a bit
with the settings to get a feeling of how it works. You should also take a
look at rad_def.inc
This is just thrown together in a minute, don't expect very good settings.
global_settings {
assumed_gamma 1
radiosity {
pretrace_start 0.04 // start pretrace at this size
pretrace_end 0.02 // end pretrace at this size
count 200 // higher -> higher quality (1..1600)
[35]
nearest_count 5 // higher -> higher quality (1..10) [5]
error_bound 0.1 // higher -> smoother, less accurate [1.8]
recursion_limit 2 // how much interreflections are
calculated (1..5+)
low_error_factor .5 // reduce error_bound during last pretrace
step
gray_threshold 0.0 // increase for weakening colors (0..1)
[0]
minimum_reuse 0.015 // reuse of old radiosity samples [0.015]
brightness 1 // brightness of radiosity effects (0..1)
[1]
adc_bailout 0.01/2 /*
normal on // take surface normals into account [off]
media on // take media into account [off]
save_file "file_name" // save radiosity data
load_file "file_name" // load saved radiosity data
always_sample off // turn sampling in final trace off [on]
max_sample 1.0 // maximum brightness of samples */
}
}
camera{
location <0,5,-4>
sky <0.5,0,1>
direction <0,0,1>
right x*image_width/image_height
up y
angle 60
look_at <0,0,0>}
sphere{<1,1,-1.5>,1
pigment{rgb 1}
finish{ambient 0 diffuse 1}}
plane{y,0
pigment{checker rgb 0.8,1}
finish{diffuse 1 ambient 0}}
box{<-2,0,-1><2,3,1>
pigment{red 1}
finish{ambient 2}}
Post a reply to this message
|
![](/i/fill.gif) |